var path = require('path');
var config = {
    'webpackBuildPath': path.join(__dirname, './client-v2/dist'),
    'resourceDirectory': path.join(__dirname, './resource'),
    'imageDirectory': path.join(__dirname, './resource/images'),
    'thumbDirectory': path.join(__dirname, './resource/thumbs'),
    'tempFileDirectory': path.join(__dirname, './resource/temp')
};

try {
    var selfConfig = require(path.resolve('./config'));
    config = Object.assign(config, selfConfig);
} catch(e) {
}


module.exports = config;